package com.jl.tools;

import java.sql.Connection;

public class Tools {
    //封装连接数据库工具类
    private Connection connection;

    public  Connection getConnection() {
        try {
            Class.forName("com.mysql.jdbc.Driver");
        } catch (ClassNotFoundException e) {
            e.printStackTrace();
        }
        return connection;
    }
}
